package com.thinkcube.edutainment.domain.data;

import android.os.Parcel;
import android.os.Parcelable;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

@JsonIgnoreProperties(ignoreUnknown = true)
public class PackageData implements Parcelable{

	@JsonProperty("package_id")
	String packageId;

	@JsonProperty("package_title")
	String packageTitle;

	@JsonProperty("packageSubscription")
	String packageSubscription;

	@JsonProperty("package_description")
	String packageDescription;

	@JsonProperty("package_price")
	String packagePrice;
	
	

	public PackageData() {
	}

	public String getPackageId() {
		return packageId;
	}

	public void setPackageId(String packageId) {
		this.packageId = packageId;
	}

	public String getPackageTitle() {
		return packageTitle;
	}

	public void setPackageTitle(String packageTitle) {
		this.packageTitle = packageTitle;
	}

	public String getPackageSubscription() {
		return packageSubscription;
	}

	public void setPackageSubscription(String packageSubscription) {
		this.packageSubscription = packageSubscription;
	}

	public String getPackageDescription() {
		return packageDescription;
	}

	public void setPackageDescription(String packageDescription) {
		this.packageDescription = packageDescription;
	}

	public String getPackagePrice() {
		return packagePrice;
	}

	public void setPackagePrice(String packagePrice) {
		this.packagePrice = packagePrice;
	}

	protected PackageData(Parcel in) {
		packageId = in.readString();
		packageTitle = in.readString();
		packageSubscription = in.readString();
		packageDescription = in.readString();
		packagePrice = in.readString();
	}

	public int describeContents() {
		return 0;
	}

	public void writeToParcel(Parcel dest, int flags) {
		dest.writeString(packageId);
		dest.writeString(packageTitle);
		dest.writeString(packageSubscription);
		dest.writeString(packageDescription);
		dest.writeString(packagePrice);
	}

	public static final Parcelable.Creator<PackageData> CREATOR = new Parcelable.Creator<PackageData>() {
		public PackageData createFromParcel(Parcel in) {
			return new PackageData(in);
		}

		public PackageData[] newArray(int size) {
			return new PackageData[size];
		}
	};

}
